# 作者：SP
# 开发时间：2024/1/8 21:18
filename = 'abc.txt'
with open(filename,'w',encoding='utf-8') as file_object:
    file_object.write('这些内容会被覆盖\n')
    file_object.write('这些内容\n')